package DDE.swing;

import java.awt.BorderLayout;

import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JPanel;
public class exo {

	
	public static void main(String[] args) {
		exercice test = new exercice();	
	
	}



	public class exercice extends JFrame{
		private JPanel buildContentPane(){
			JPanel panel = new JPanel();
			panel.setLayout(new BorderLayout());
			
			add(new JButton("Sud"),BorderLayout.SOUTH);
			JButton bouton = new JButton("Cliquez ici !");
			panel.add(bouton);
			
			JButton bouton2 = new JButton("Ou là !");
			panel.add(bouton2);
			
			return panel;
		}
	}


}
